<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\PreAdminInformation */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="pre-admin-information-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'Info_url')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Info_time')->textInput() ?>

    <?= $form->field($model, 'Info_type')->listBox(['0'=>'公告通知','1'=>'节日祝福','2'=>'成果公布','3'=>'人员招募','4'=>'活动通知','5'=>'广告宣传']) ?>

    <?= $form->field($model, 'Info_title')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Info_content')->textarea(['rows' => 6]) ?>

    <!--<?= $form->field($model, 'status')->textInput() ?>
-->
    <?= $form->field($model, 'uid')->textInput(['maxlength' => true]) ?>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? '创建' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
